<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>招聘数据可视化分析系统 - 用户登录</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>

<body>
    <div class="login-container">
        <div class="login-form">
            <h1>招聘数据可视化分析系统</h1>
            <h2>用户登录</h2>
            {% if error %}
            <div class="error-message">{{ error }}</div>
            {% endif %}
            <form action="{{ url_for('login_page') }}" method="post">
                <div class="form-group">
                    <label for="username">用户名:</label>
                    <input type="text" id="username" name="username" required placeholder="请输入用户名" value="admin">
                </div>
                <div class="form-group">
                    <label for="password">密码:</label>
                    <input type="password" id="password" name="password" required placeholder="请输入密码" value="password">
                </div>
                <div class="form-group">
                    <button type="submit">登录</button>
                </div>
            </form>
            <div class="form-footer">
                <p>没有账户？<a href="{{ url_for('register_page') }}">立即注册</a></p>
            </div>
        </div>
    </div>
</body>

</html>